import { CommonSmallAdddButton } from '@/pages/workflow/components/CommonSmallTemp'
import '../index.less'

/* ifelse 头部 添加分支 */
export default function IfElseHead({ addMoreIf }) {
  return (
    <div className="flexRowStart flexRowJustBet mb-[8px]">
      <span className="font-semibold">条件分支</span>
      <CommonSmallAdddButton
        addOption={addMoreIf}
        title={'新增分支'}
        className="CommonSmall_add_button mt-[0] w-[auto]"
      ></CommonSmallAdddButton>
    </div>
  )
}
